package com.ioudi.digu.service;

import java.util.List;
import java.util.Map;

import com.ioudi.digu.vo.ProducedMessage;
import com.ioudi.digu.vo.ReceivedMessage;


public interface IReceivedService extends IGeneralService
{
	static final byte TOPIC_LOCATION = 0x01;
	
	static final byte TOPIC_FRIENDSHIP= 0x10; 
   
    public ReceivedMessage saveReceived(String user, byte topic, ProducedMessage message); 
    
    List getMessageLocation(int index, int maxCount, Map condition);
}
